package com.lyw.GeoLocationClient.json.req;

import com.lyw.GeoLocationClient.utils.StringUtils;

public class CreateColumnReq extends BaseReq {
    String name;
    String key;
    int type = 3;//String
    int max_length = StringUtils.KEY_MAX_LENGTH;
    String default_value = StringUtils.generateKey("888888");
    int geotable_id;

    public CreateColumnReq(int geotable_id, String name, String key) {
        this.geotable_id = geotable_id;
        this.name = name;
        this.key = StringUtils.generateKey(key);
    }

}
